<?
class HttpUtil{
    static $test="OK";
    static function request_isGetMethod(){
        echo $_SERVER['REQUEST_METHOD'];
        return $_SERVER['REQUEST_METHOD']=='GET';
    }
    static function request_isPostMethod(){
        return FALSE;
        //echo $_SERVER['REQUEST_METHOD'];
        //return $_SERVER['REQUEST_METHOD']=='POST';        
    }
    static function request_hasQueryString($name){
        return isset($_GET[$name])||isset($_POST[$name]);
    }
    static function request_getQueryString($name){
        if(isset($_GET[$name]))
          return $_GET[$name];
        else if(isset($_POST[$name]))
          return $_POST[$name];
        else return NULL;
    }
    
    static function session_enabled(){
        return isset()
    }
    static function session_contains($name){
        
    }
    static function session_put($name,$value){
        
    }
    static function session_get($name){
        
    }
    static function session_remove($name){
        
    }
    static function session_clear(){
        
    }
}

?>